﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Pahan.McuFusion.Common
{
    public interface IHardwareAdapter : IDisposable
    {
        /// <summary>
        /// Gets the information about the adapter.
        /// </summary>
        HardwareAdapterInfo Info
        {
            get;
        }

        /// <summary>
        /// Opens the adapter. This method must be called before the actual use of the adapter.
        /// </summary>
        void Open();

        /// <summary>
        /// Closes the adapter.
        /// </summary>
        void Close();
    }
}
